package com.fuhe.chen.vendingmachine.service;

import com.fuhe.chen.vendingmachine.pojo.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICategoryService {

    /**
     * 查询所有标签
     */
    List<Category> findAll();

    /**
     * 新增分类
     * @param categoryName
     */
    String addCategory(String categoryName);

    /**
     * 删除分类
     * @param id
     */
    void deleteCategory(int id);

}
